<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script th:src="@{/webjars/jquery/3.6.4/jquery.min.js}"></script>
    <link th:href="@{/webjars/bootstrap/5.3.0/css/bootstrap.min.css}" rel="stylesheet">


</head>
<body>
            <form th:action="@{/login}" method="post">
                 <input type="text" name="username"><br>
                <input type="password" name="password"><br>
                <input type="text" name="chkcode">
                <span th:text="${code}"></span>
                 <button class="btn btn-success">登录</button>
            </form>
</body>
</html>
